package com.qfedu.service;

import com.github.pagehelper.PageInfo;
import com.qfedu.bean.Customer;

import java.util.List;

/**
 * @Author 李小毅
 * @Description
 * @Date 2022-06-15
 */

public interface CustomerService {

    void insertCustomer(Customer customer);

    void updateCustomer(Customer customer);

    void delCustomerById(Integer id);

    Customer getCustomerById(Integer id);

    /**
     * 查询所有用户
     * @return
     */
    List<Customer> getAllCustomer();

    PageInfo<Customer> getAllCustomerByPage(Integer page,Integer limit);

    /**
     *
     * @param ids
     */
    void deleteCustomersByIds(long[] ids);

}
















